package com.bdqn.demo.pojo;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Properties
 *
 * @author LILIBO
 * @since 2021-11-22
 */
@Component
@ConfigurationProperties(prefix = "com.bdqn")
public class Properties {

    private String name;
    private String phone;

    // 还有100个属性

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

}
